const app = getApp();
Component({
  properties: {
    goodList: {
      type: Array,
      value: null
    }
  },
  data: {
    
  },
  attached: function () {
    var that = this;
    
  },
  methods: {
    goodDetail: function (e) {
      var goodId = e.currentTarget.dataset.id;
      wx.navigateTo({
        url: '/pages/goodDetail/goodDetail?id=' + goodId
      })
    },
  }
})